package com.ruoyi.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.project.domain.entity.ProjectPay;
import com.ruoyi.project.domain.entity.ProjectWarranty;
import com.ruoyi.project.domain.query.ProjectPayQuery;
import com.ruoyi.project.domain.query.ProjectWarrantyQuery;

import java.io.IOException;
import java.util.List;

public interface IProjectWarrantyService extends IService<ProjectWarranty> {


    //新增
 Boolean addInfo(ProjectWarranty project) throws IOException;

 Boolean updateInfo(ProjectWarranty project);

 //删除

    Boolean deleteInfo(String id);

    //获取详情

    ProjectWarranty getInfoById(String id);

    List<ProjectWarranty> getList(ProjectWarrantyQuery query);

}
